# class Person:
#     def __init__(self):
#         self.__age=18
#         pass
#     def getAge(self):
#         return self.__age
#     def setAge(self,age):
#         self.__age=age
#         pass
#     age=property(getAge,setAge)
#     pass
# xm=Person()
# print(xm.age)
# xm.age=26
# print(xm.age)
class Student(object):
    def __init__(self):
        self.__age=18
        pass
    @property
    def age(self):
        return self.__age
    @age.setter
    def age(self,age):
        self.__age=age
        pass
    pass
xl=Student()
print(xl.age)
xl.age=26
print(xl.age)




